<?php

class DBTest2Controller extends CustomController
{

    public function actionIndex()
    {
        $p1 = new Pessoa;
        $p1->setIsNewRecord(true);
        //$p1->id = 1;
        $p1->nome = "Gustavo";
        $p1->email = "gustavo@teste.com";
        $p1->save();
    }

}
